package com.codeplateform.service.impl;

import com.codeplateform.dao.RegisterDao;
import com.codeplateform.dao.entity.Register;
import com.codeplateform.service.RegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegisterServiceImpl implements RegisterService {


    @Autowired
    RegisterDao registerDao;

    @Override
    public int insert(Register register) {


        return registerDao.insert(register);
    }
}
